public class SendEmailControllor {



        public pagereference SendEmail()
        {
        
                Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage(); 
                String[] toAddresses = new String[]{'pradeep.kumar-l-g@capgemini.com','kirkulka@capgemini.com'}; 
                mail.setToAddresses(toAddresses); 
                mail.setReplyTo('pradeep.kumar-l-g@capgemini.com'); 
                mail.setSenderDisplayName('ACME Support'); 
                mail.setSubject('Your wish');
                mail.setPlainTextBody('It is done'); 
                Messaging.sendEmail(new Messaging.SingleEmailMessage[]{mail});
        
                return null;
        }
}